import request from '@/utils/request'

// 查询短信发送日志列表
export function listSms_send_log(query) {
    return request({
        url: '/business/sms_send_log/list',
        method: 'get',
        params: query
    })
}

// 查询短信发送日志详细
export function getSms_send_log(id) {
    return request({
        url: '/business/sms_send_log/' + id,
        method: 'get'
    })
}

// 新增短信发送日志
export function addSms_send_log(data) {
    return request({
        url: '/business/sms_send_log',
        method: 'post',
        data: data
    })
}

// 修改短信发送日志
export function updateSms_send_log(data) {
    return request({
        url: '/business/sms_send_log',
        method: 'put',
        data: data
    })
}

// 删除短信发送日志
export function delSms_send_log(id) {
    return request({
        url: '/business/sms_send_log/' + id,
        method: 'delete'
    })
}

// 导出短信发送日志
export function exportSms_send_log(query) {
    return request({
        url: '/business/sms_send_log/export',
        method: 'get',
        params: query
    })
}